package cn.kgc.pojo;

import java.util.Date;

public class House {
    private int houseId;
    private String houseDesc;
    private int typeId;
    private int monthlyRent;
    private Date  publishDate;
    private String typeName;

    public int getHouseId() {
        return houseId;
    }

    public void setHouseId(int houseId) {
        this.houseId = houseId;
    }

    public String getHouseDesc() {
        return houseDesc;
    }

    public void setHouseDesc(String houseDesc) {
        this.houseDesc = houseDesc;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public int getMonthlyRent() {
        return monthlyRent;
    }

    public void setMonthlyRent(int monthlyRent) {
        this.monthlyRent = monthlyRent;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "House{" +
                "houseId=" + houseId +
                ", houseDesc='" + houseDesc + '\'' +
                ", typeId=" + typeId +
                ", monthlyRent=" + monthlyRent +
                ", publishDate=" + publishDate +
                ", typeName='" + typeName + '\'' +
                '}';
    }
}
